﻿using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
namespace PlutoStudio.Logging
{
    public static class CastleLoggerFactoryExtensions
    {
        public static ILoggerFactory AddCastleLogger(this ILoggerFactory factory, Castle.Core.Logging.ILoggerFactory castleLoggerFactory)
        {
            factory.AddProvider(new CastleLoggerProvider(castleLoggerFactory));
            return factory;
        }
    }
}
